package com.example.moviegroup.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.example.moviegroup.R;

/**
 * Created by walymin-love on 2015/11/18.
 */
public class FindActivity extends Activity implements View.OnClickListener {
    private Button btn_find_back,btn_find_tijiao,btn_huoqu;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_find);
        initView();
        setListener();
        initData();
    }

    public void initView() {
        btn_find_back = (Button) findViewById(R.id.btn_find_back);
        btn_find_tijiao = (Button) findViewById(R.id.btn_find_tijiao);
        btn_huoqu = (Button) findViewById(R.id.btn_huoqu);
    }

    public void setListener() {
        btn_find_back.setOnClickListener(this);
        btn_find_tijiao.setOnClickListener(this);
        btn_huoqu.setOnClickListener(this);
    }

    public void initData() {
    }

    @Override
    public void onClick(View v) {
        switch(v.getId()){
            case R.id.btn_find_back:
                finish();
                break;
            case R.id.btn_find_tijiao:

                break;
            case R.id.btn_huoqu:

                break;
        }
    }
}
